package com.example.administrator.common.base;

import com.example.administrator.yunniuusedcar.activity.IHttpServices;
import com.zhy.http.okhttp.OkHttpUtils;
import com.zhy.http.okhttp.callback.Callback;
import com.zhy.http.okhttp.callback.StringCallback;

import okhttp3.Call;

/**
 * Created by USER2015 on 2017/12/13.
 */

public class CommonSign {
    // public static


    public static void ssign(String url) {    //Object(需要返回值)  void

        OkHttpUtils.post().url(IHttpServices.URL + url)
                .addParams("tel_key", "11111")
                .build().execute(new StringCallback() {
            @Override
            public void onError(Call call, Exception e, int id) {

            }

            @Override
            public void onResponse(String response, int id) {

            }
        });
//        return url ;
    }
}
